<?php

class Main_model extends CI_Model {

    public function __construct() {
        parent::__construct();
    }

    function do_login($email, $password) {

        $query_str = "SELECT * FROM student WHERE email =? AND password=?";
        return $this->db->query($query_str, array($email, $password));
    }

}

/* End of file main_model.php */
/* Location: ./application/models/main_model.php */

